package com.java.util;

import com.google.gson.Gson;

/**
 * @Author Clarklevis
 * @Date 2021/5/24
 */
public class JSONUtil {
    private static Gson g = new Gson();

    public static String toJSON(Object obj){
        return g.toJson(obj);
    }
}
